<template>
    <div class="hahha">
        111111
        <p>222222222</p>
        <button type="button" v-on:click="handleFuc">{{ countSb }}</button>

        <button type="button" v-on:click="handleV_m">{{ value }}</button>
    </div>    
</template>

<script>
    export default {
        data(){
            return {
                countSb : 0,
            }
        },
        props : ['value'],
        methods:  {
            handleFuc : function() {
                this.countSb++;
                this.$emit('update:countSb', this.countSb);
            },
            handleV_m : function() {
                this.value++;
            }
        }
    }
</script>

<style>

</style>